<script setup>

</script>

<template>
  <router-link to="/" active-class="active">Home</router-link>
  &nbsp;
  <router-link to="/user" active-class="active">User</router-link>

<router-view></router-view>
</template>

<style scoped>
/*.router-link-active  {
  background-color: fuchsia;
}
.router-link-exact-active {
  font-weight: bold;
}*/

.active {
  background-color: yellowgreen;
  font-style: italic;
}
</style>